package com.ruoyi.project.hcy.product.service.impl;

import com.ruoyi.project.hcy.product.domain.quality.ProQuality;
import com.ruoyi.project.hcy.product.mapper.ProQualityMapper;
import com.ruoyi.project.hcy.product.service.IProQualityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName ProQualityServiceImpl
 * @Author SAI
 * @Date 2020/9/18 17:07
 * @Description ProQualityServiceImpl
 * @Version 1.0
 */
@Service("quality")
public class ProQualityServiceImpl implements IProQualityService {

    @Autowired
    private ProQualityMapper proQualityMapper;


    @Override
    public List<ProQuality> selectProQualityList(ProQuality proQuality) {
        return proQualityMapper.selectProQualityList(proQuality);
    }

    @Override
    public ProQuality selectProQualityById(Long proQualityId) {
        return proQualityMapper.selectProQualityById(proQualityId);
    }
}
